package com.microblog.microblogsystem.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户登录VO")
public class UserLoginVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Integer id;

    @ApiModelProperty(value = "用户手机号")
    private String userId;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    private String image;

    @ApiModelProperty(value = "用户性别")
    private String sex;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户生日")
    private LocalDate birthday;

    @ApiModelProperty(value = "用户地址")
    private String address;

    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ApiModelProperty(value = "用户个人网站")
    private String mysite;

    @ApiModelProperty(value = "用户签名")
    private String sign;

    @ApiModelProperty(value = "用户注册时间")
    private LocalDate createtime;

    @ApiModelProperty(value = "用户是否公开")
    private String ispublic;

    @ApiModelProperty(value = "用户背景图片")
    private String pagebg;

    @ApiModelProperty(value = "用户简介")
    private String intro;

    @ApiModelProperty(value = "用户qq邮箱")
    private String qqnum;

    @ApiModelProperty(value = "用户登录令牌")
    private String token;
}
